package com.shuffleview

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.shuffleview.R.id.shuffleLayout
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        mockShuffle()
    }

    private fun mockShuffle() {
        val data = ArrayList<Float>()
        for (i in 0..30) {
            data.add(i.toFloat())
        }
        shuffleLayout.setData(data)
    }
}
